package com.tjetc.service;

import com.tjetc.domain.*;
import com.tjetc.vo.Result;

import java.util.List;

public interface DoctorService {

    Doctor login(String username, String password);
    Result add(Doctor doctor);
    Result update(Doctor doctor);
    Result delete(int id);
    Doctor getDoctorByName(String username);
    List<Doctor> getDoctorList();

    Doctor getDoctorByNewBornId(int id);

    String getDoctorByVaccine(int newBornId, int vaccineId);

    List<Doctor> getDoctorByNewBornIdAll(int id);
    Result findByNameAP(Doctor doctor);


    Result add(Newborn newborn);

    Result del(int id);

    Result upd(Newborn newborn);


    Newborn sel(int id);

    List<Newborn> list();


    List<Vaccination> yimiaoList(int id);

    Result upd1(int i);

    List<Disease> serch();

    Doctor findId(int doctorId);

    List<Health> serch1();
}
